send a presence query when the buddy list is displayed
This ensures that clients that have not sent presence in a while will show up in the list.
This commit is contained in:
parent
a1228e27ed
commit
9a8d0be866
4 changed files with 15 additions and 3 deletions
|
@ -88,8 +88,8 @@ xmppClientThread = NamedThread "XMPPClient" $ do
|
|||
relayNetMessage :: Assistant (XMPP ())
|
||||
relayNetMessage = convert <$> waitNetMessage
|
||||
where
|
||||
convert (NotifyPush us) =
|
||||
putStanza $ gitAnnexPresence $ encodePushNotification us
|
||||
convert (NotifyPush us) = putStanza $ pushNotification us
|
||||
convert QueryPresence = putStanza presenceQuery
|
||||
|
||||
data DecodedStanza
|
||||
= PresenceMessage Presence
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue