mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
Implement better support for video verification
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
bf123dfc15
commit
92919928fa
@ -123,7 +123,9 @@ public class NotificationWorker extends Worker {
|
||||
Conversation conversation = roomOverall.getOcs().getData();
|
||||
|
||||
intent.putExtra(BundleKeys.KEY_ROOM, Parcels.wrap(conversation));
|
||||
if (conversation.getType().equals(Conversation.RoomType.ROOM_TYPE_ONE_TO_ONE_CALL)) {
|
||||
if (conversation.getType().equals(Conversation.RoomType.ROOM_TYPE_ONE_TO_ONE_CALL) ||
|
||||
(!TextUtils.isEmpty(conversation.getObjectType()) && "share:password".equals
|
||||
(conversation.getObjectType()))) {
|
||||
context.startActivity(intent);
|
||||
} else {
|
||||
if (conversation.getType().equals(Conversation.RoomType.ROOM_GROUP_CALL)) {
|
||||
|
@ -74,6 +74,8 @@ public class Conversation {
|
||||
public boolean unreadMention;
|
||||
@JsonField(name = "lastMessage")
|
||||
public ChatMessage lastMessage;
|
||||
@JsonField(name = "objectType")
|
||||
String objectType;
|
||||
|
||||
public boolean isPublic() {
|
||||
return (RoomType.ROOM_PUBLIC_CALL.equals(type));
|
||||
|
Loading…
Reference in New Issue
Block a user