mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 20:53:09 +00:00
add different types of permissions
add different types of permissions to Conversation.java and Participant.java (though they are not used yet) For conversation see https://nextcloud-talk.readthedocs.io/en/latest/conversation/#get-user-s-conversations For Participant see https://nextcloud-talk.readthedocs.io/en/latest/participant/#get-list-of-participants-in-a-conversation Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
4d00d1e0e6
commit
99e9bcb0e8
@ -111,6 +111,19 @@ public class Conversation {
|
||||
@JsonField(name = "notificationCalls")
|
||||
public Integer notificationCalls;
|
||||
|
||||
@JsonField(name = "permissions")
|
||||
public int permissions;
|
||||
|
||||
@JsonField(name = "attendeePermissions")
|
||||
public int attendeePermissions;
|
||||
|
||||
@JsonField(name = "callPermissions")
|
||||
public int callPermissions;
|
||||
|
||||
@JsonField(name = "defaultPermissions")
|
||||
public int defaultPermissions;
|
||||
|
||||
|
||||
public boolean isPublic() {
|
||||
return (ConversationType.ROOM_PUBLIC_CALL.equals(type));
|
||||
}
|
||||
|
@ -87,6 +87,12 @@ public class Participant {
|
||||
@JsonField(name = "statusMessage")
|
||||
public String statusMessage;
|
||||
|
||||
@JsonField(name = "permissions")
|
||||
public int permissions;
|
||||
|
||||
@JsonField(name = "attendeePermissions")
|
||||
public int attendeePermissions;
|
||||
|
||||
public String source;
|
||||
|
||||
public boolean selected;
|
||||
|
Loading…
Reference in New Issue
Block a user