Development Team/Low-level Activity API: Difference between revisions
m →Telepathy: link to dev manual |
m →Collaboration: clarify multiple connections |
||
| Line 467: | Line 467: | ||
connections.add(connection) | connections.add(connection) | ||
This gathers all the usable connections, there may be more than one. | |||
== Startup == | == Startup == | ||
On startup, an activity needs to check if there is already a "room" for it. If so, it needs to be joined (see [[#Joining|below]]). The GetActivity method checks for the room given an activity_id: | On startup, an activity needs to check all the currently available connections if there is already a "room" for it. If so, it needs to be joined (see [[#Joining|below]]). The GetActivity method checks for the room given an activity_id: | ||
for connection in connections: | for connection in connections: | ||