diff options
Diffstat (limited to 'libdino/src/service/stream_interactor.vala')
-rw-r--r-- | libdino/src/service/stream_interactor.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdino/src/service/stream_interactor.vala b/libdino/src/service/stream_interactor.vala index db6d58d8..e60a43d6 100644 --- a/libdino/src/service/stream_interactor.vala +++ b/libdino/src/service/stream_interactor.vala @@ -9,6 +9,7 @@ public class StreamInteractor : Object { public signal void account_added(Account account); public signal void account_removed(Account account); + public signal void stream_resumed(Account account, XmppStream stream); public signal void stream_negotiated(Account account, XmppStream stream); public signal void attached_modules(Account account, XmppStream stream); @@ -70,6 +71,8 @@ public class StreamInteractor : Object { var flag = stream.get_flag(Xep.StreamManagement.Flag.IDENTITY); if (flag == null || flag.resumed == false) { stream_negotiated(account, stream); + } else if (flag != null && flag.resumed == true) { + stream_resumed(account, stream); } }); } |