doc/roster_format.txt

changeset 132
9a4aa57af367
parent 131
4bbbc7883ee6
equal deleted inserted replaced
131:4bbbc7883ee6 132:9a4aa57af367
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 boolean ask = nil | "subscribe" - a value of true indicates subscription is pending
13 } 13 }
14 14
15 The roster is available as 15 The roster is available as
16 hosts[host].sessions[username].roster 16 hosts[host].sessions[username].roster
17 and a copy is made to session.roster for all sessions. 17 and a copy is made to session.roster for all sessions.

mercurial