doc/roster_format.txt

changeset 131
4bbbc7883ee6
parent 100
ca7bad346cde
child 132
9a4aa57af367
equal deleted inserted replaced
130:907cff6b5359 131:4bbbc7883ee6
7 7
8 table roster_item { 8 table roster_item {
9 string subscription = "none" | "to" | "from" | "both" 9 string subscription = "none" | "to" | "from" | "both"
10 string name = Opaque string set by client. (optional) 10 string name = Opaque string set by client. (optional)
11 set groups = a set of opaque strings set by the client 11 set groups = a set of opaque strings set by the client
12 boolean ask = nil | true - a value of true indicates subscription is pending
12 } 13 }
13 14
14 The roster is available as 15 The roster is available as
15 hosts[host].sessions[username].roster 16 hosts[host].sessions[username].roster
16 and a copy is made to session.roster for all sessions. 17 and a copy is made to session.roster for all sessions.

mercurial