6 | | - requests for `getratinglist` and `getleaderboard` need to be removed (those will be automatically published via PubSub, as well as updates to `gamelist`) |
7 | | - upon connecting to the XMPP server pyrogenesis needs to check whether it's already subscribed to the three PubSub nodes `0ad#{room_name}#gamelist#v1`, `0ad#{room_name}#boardlist#v1`, `0ad#{room_name}#ratinglist#v1` and subscribe if that's not the case. This can be done using the PubSub Manager methods `getSubscriptions()` and `subscribe()` already present in gloox: https://camaya.net/api/gloox-1.0.26/classgloox_1_1PubSub_1_1Manager.html |
8 | | - instead of expecting the list of games, the boardlist and the ratinglist from XpartaMuPP/EcheLOn they will now be sent by `pubsub.{domain}` and are wrapped in the XML structure necessary for PubSub. The actual stanzas stay the same. For handling such data `handleIQ()` method of the PubSub Manager should do the trick |
| 6 | - requests for `getratinglist` and `getleaderboard` need to be removed (those will be automatically published via !PubSub, as well as updates to `gamelist`) |
| 7 | - upon connecting to the XMPP server pyrogenesis needs to check whether it's already subscribed to the three !PubSub nodes `0ad#{room_name}#gamelist#v1`, `0ad#{room_name}#boardlist#v1`, `0ad#{room_name}#ratinglist#v1` and subscribe if that's not the case. This can be done using the !PubSub Manager methods `getSubscriptions()` and `subscribe()` already present in gloox: https://camaya.net/api/gloox-1.0.26/classgloox_1_1PubSub_1_1Manager.html |
| 8 | - instead of expecting the list of games, the boardlist and the ratinglist from XpartaMuPP/EcheLOn they will now be sent by `pubsub.{domain}` and are wrapped in the XML structure necessary for !PubSub. The actual stanzas stay the same. For handling such data `handleIQ()` method of the !PubSub Manager should do the trick |