Mike 2 лет назад
Родитель
Сommit
9d11c84f97
7 измененных файлов с 9 добавлено и 7 удалено
  1. 1 1
      README.md
  2. 1 1
      docs/CLIENT.md
  3. 1 1
      docs/LINUX.md
  4. 1 1
      docs/MACOS.md
  5. 1 1
      docs/WINDOWS.md
  6. 2 0
      foodgroup/oservice.go
  7. 2 2
      foodgroup/test_helpers.go

+ 1 - 1
README.md

@@ -8,7 +8,7 @@
 
 The following features are supported:
 
-- [x] Windows AIM client versions 5.0-5.9 (partial 4.8 support)
+- [x] Windows AIM client versions 3.5, 4.x, 5.x
 - [x] Away Messages
 - [x] Buddy Icons
 - [x] Buddy List

+ 1 - 1
docs/CLIENT.md

@@ -7,7 +7,7 @@ This guide explains how to install and configure AIM clients for Retro AIM Serve
 ### Linux
 
 Windows AIM versions 5.0-5.1.3036 run perfectly well on [Wine](https://www.winehq.org/). Here's how to set up AIM
-5.1.306.
+5.1.3036.
 
 1. [Install Wine](https://wiki.winehq.org/Download)
 2. Download the AIM installer from [archive.org](https://archive.org/details/aim513036)

+ 1 - 1
docs/LINUX.md

@@ -37,4 +37,4 @@ This guide explains how to download, configure and run Retro AIM Server on Linux
 
    > Account auto-creation is meant to be a convenience feature for local development. In a production deployment, you
    should set `DISABLE_AUTH=false` in `settings.env` to enforce account authentication. User accounts can be created via
-   the [User Management API](../README.md#user-management).
+   the [Management API](../README.md#-management-api).

+ 1 - 1
docs/MACOS.md

@@ -74,4 +74,4 @@ This guide explains how to download, configure and run Retro AIM Server on macOS
 
    > Account auto-creation is meant to be a convenience feature for local development. In a production deployment, you
    should set `DISABLE_AUTH=false` in `settings.env` to enforce account authentication. User accounts can be created via
-   the [User Management API](../README.md#user-management).
+   the [Management API](../README.md#-management-api).

+ 1 - 1
docs/WINDOWS.md

@@ -59,4 +59,4 @@ This guide explains how to download, configure and run Retro AIM Server on Windo
 
    > Account auto-creation is meant to be a convenience feature for local development. In a production deployment, you
    should set `DISABLE_AUTH=false` in `settings.bat` to enforce account authentication. User accounts can be created via
-   the [User Management API](../README.md#user-management).
+   the [Management API](../README.md#-management-api).

+ 2 - 0
foodgroup/oservice.go

@@ -91,6 +91,8 @@ func (s OServiceService) RateParamsQuery(_ context.Context, inFrame wire.SNACFra
 				LastTime        uint32
 				CurrentState    uint8
 			}{
+				// these values were taken from the example SNAC dump documented here:
+				// https://web.archive.org/web/20221207225518/https://wiki.nina.chat/wiki/Protocols/OSCAR/SNAC/OSERVICE_RATE_PARAMS_REPLY
 				{
 					ID:              0x01,
 					WindowSize:      0x0050,

+ 2 - 2
foodgroup/test_helpers.go

@@ -65,7 +65,7 @@ type userManagerParams struct {
 }
 
 // getUserParams is the list of parameters passed at the mock
-// UserManager.GetUser call site
+// UserManager.User call site
 type getUserParams []struct {
 	screenName string
 	result     *state.User
@@ -73,7 +73,7 @@ type getUserParams []struct {
 }
 
 // insertUserParams is the list of parameters passed at the mock
-// UserManager.UpsertUser call site
+// UserManager.InsertUser call site
 type insertUserParams []struct {
 	user state.User
 	err  error