diff options
author | Marvin W <git@larma.de> | 2017-04-18 17:53:25 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-04-18 20:20:41 +0200 |
commit | f95b4f4e0949eefaed871c267626e3ff84ce5ca6 (patch) | |
tree | e60469776bcf062d2db15e9968bf6dbd37fa1630 /libdino/src/service/stream_interactor.vala | |
parent | 765c2605cd0abf2b4431051142f09e2676584222 (diff) | |
download | dino-f95b4f4e0949eefaed871c267626e3ff84ce5ca6.tar.gz dino-f95b4f4e0949eefaed871c267626e3ff84ce5ca6.zip |
xmpp-vala/core+libdino: concurrency + nullity improvements
Diffstat (limited to 'libdino/src/service/stream_interactor.vala')
-rw-r--r-- | libdino/src/service/stream_interactor.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/stream_interactor.vala b/libdino/src/service/stream_interactor.vala index 81ddfebd..028d031b 100644 --- a/libdino/src/service/stream_interactor.vala +++ b/libdino/src/service/stream_interactor.vala @@ -9,7 +9,7 @@ public class StreamInteractor { public signal void account_added(Account account); public signal void account_removed(Account account); - public signal void stream_negotiated(Account account); + public signal void stream_negotiated(Account account, Core.XmppStream stream); public ModuleManager module_manager; public ConnectionManager connection_manager; @@ -59,7 +59,7 @@ public class StreamInteractor { private void on_stream_opened(Account account, Core.XmppStream stream) { stream.stream_negotiated.connect( (stream) => { - stream_negotiated(account); + stream_negotiated(account, stream); }); } } |