aboutsummaryrefslogtreecommitdiff
path: root/client/src/service/connection_manager.vala
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/service/connection_manager.vala')
-rw-r--r--client/src/service/connection_manager.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/service/connection_manager.vala b/client/src/service/connection_manager.vala
index 91664af5..75155e98 100644
--- a/client/src/service/connection_manager.vala
+++ b/client/src/service/connection_manager.vala
@@ -136,7 +136,7 @@ public class ConnectionManager {
print(@"recovering in $wait_sec\n");
Timeout.add_seconds(wait_sec, () => {
if (stream_error_flag.resource_rejected) {
- connect_(account, account.resourcepart + "-" + UUID.generate_random_unparsed());
+ connect_(account, account.resourcepart + "-" + random_uuid());
} else {
connect_(account);
}