diff options
author | fiaxh <git@lightrise.org> | 2021-05-03 13:17:17 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-05-11 12:52:00 +0200 |
commit | 90f9ecf62b2ebfef14de2874e7942552409632bf (patch) | |
tree | c9cd6da902ee89ab9cfcc435c2e98680e2ec3c50 /libdino/src/service/calls.vala | |
parent | 8044b546d0ac15d34a3e6499b9c0d55d3d8f9c94 (diff) | |
download | dino-90f9ecf62b2ebfef14de2874e7942552409632bf.tar.gz dino-90f9ecf62b2ebfef14de2874e7942552409632bf.zip |
Calls: Indicate whether OMEMO key is verified
Diffstat (limited to 'libdino/src/service/calls.vala')
-rw-r--r-- | libdino/src/service/calls.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/calls.vala b/libdino/src/service/calls.vala index a44b59fd..4c3bbea7 100644 --- a/libdino/src/service/calls.vala +++ b/libdino/src/service/calls.vala @@ -75,7 +75,7 @@ namespace Dino { call.account = conversation.account; call.counterpart = conversation.counterpart; call.ourpart = conversation.account.full_jid; - call.time = call.local_time = new DateTime.now_utc(); + call.time = call.local_time = call.end_time = new DateTime.now_utc(); call.state = Call.State.RINGING; stream_interactor.get_module(CallStore.IDENTITY).add_call(call, conversation); @@ -380,7 +380,7 @@ namespace Dino { call.counterpart = from; } call.account = account; - call.time = call.local_time = new DateTime.now_utc(); + call.time = call.local_time = call.end_time = new DateTime.now_utc(); call.state = Call.State.RINGING; Conversation conversation = stream_interactor.get_module(ConversationManager.IDENTITY).create_conversation(call.counterpart.bare_jid, account, Conversation.Type.CHAT); |