FluuxIO / go-xmpp

Native Go XMPP library
https://www.process-one.net/
BSD 3-Clause "New" or "Revised" License
317 stars 63 forks source link

InitialPresence should not be a constant #178

Open ivucica opened 3 years ago

ivucica commented 3 years ago

I'd like to include XEP-0086 caps in the <presence/> sent. (Some users may want to also set a different <show/>, <status/> or <priority/>).

Right now, it's a constant that cannot be adjusted, so I'll send one immediately after -- however, it should be adjustable before the connection starts.