Guild Join Request #1389

Closed
opened 2025-03-30 10:20:42 -07:00 by Sainan · 0 comments
Owner

It seems that addToGuild is reused for sending a join request:

{
  GuildId: { '$oid': '663e9be9f741eeb5782f9df0' },
  RequestMsg: 'asdasd'
}
2025-03-30T19:20:13:023 [0.1.0] http:   POST /api/addToGuild.php?accountId=67cdac105ef1f4b49741c267&nonce=1254768836751384&ct=MSI 400 8.496 ms - 25

When accepting the request, there's a new endpoint (userId can be "all"):

2025-03-31T15:02:41:819 [0.1.0] error:  unknown endpoint POST /api/confirmGuildInvitation.php
2025-03-31T15:02:41:820 [0.1.0] debug:  data provided to /api/confirmGuildInvitation.php: {"userId":"67cdac105ef1f4b49741c267"}
2025-03-31T15:02:41:821 [0.1.0] http:   POST /api/confirmGuildInvitation.php?accountId=6633b81e9dba0b714f28ff02&nonce=5665217654223255&ct=MSI&clanId=663e9be9f741eeb5782f9df0 404 3.156 ms - 34

but declining it uses removeFromGuild. There seems to be an inbox message that gets sent when when a join request is rejected.

It seems that addToGuild is reused for sending a join request: ``` { GuildId: { '$oid': '663e9be9f741eeb5782f9df0' }, RequestMsg: 'asdasd' } 2025-03-30T19:20:13:023 [0.1.0] http: POST /api/addToGuild.php?accountId=67cdac105ef1f4b49741c267&nonce=1254768836751384&ct=MSI 400 8.496 ms - 25 ``` When accepting the request, there's a new endpoint (`userId` can be "all"): ``` 2025-03-31T15:02:41:819 [0.1.0] error: unknown endpoint POST /api/confirmGuildInvitation.php 2025-03-31T15:02:41:820 [0.1.0] debug: data provided to /api/confirmGuildInvitation.php: {"userId":"67cdac105ef1f4b49741c267"} 2025-03-31T15:02:41:821 [0.1.0] http: POST /api/confirmGuildInvitation.php?accountId=6633b81e9dba0b714f28ff02&nonce=5665217654223255&ct=MSI&clanId=663e9be9f741eeb5782f9df0 404 3.156 ms - 34 ``` but declining it uses removeFromGuild. There seems to be an inbox message that gets sent when when a join request is rejected.
Sainan added the
unimplemented
label 2025-03-30 10:20:42 -07:00
Sign in to join this conversation.
No description provided.