Send the <gone/> chat state when receiving unavailable presence

- We might as well bridge this through.
This commit is contained in:
eta 2020-08-02 18:35:48 +01:00
parent a02c0fdc79
commit efbda1a002

View file

@ -878,6 +878,7 @@ Returns three values: avatar data (as two values), and a generalized boolean spe
((eql type :composing) "composing") ((eql type :composing) "composing")
((eql type :paused) "paused") ((eql type :paused) "paused")
((eql type :available) "active") ((eql type :available) "active")
((eql type :unavailable) "gone")
(t (return-from wa-handle-presence))))) (t (return-from wa-handle-presence)))))
(unless participant ; Groups hard (unless participant ; Groups hard
(let ((from-jid (concatenate 'string (let ((from-jid (concatenate 'string