mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Merge pull request #2575 from nextcloud/fix-is-in-call-with-video-check
Fix "isInCallWithVideo()" check
This commit is contained in:
commit
3283eb9502
@ -350,7 +350,7 @@ class CallNotificationActivity : CallBaseActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun isInCallWithVideo(callFlag: Int): Boolean {
|
private fun isInCallWithVideo(callFlag: Int): Boolean {
|
||||||
return callFlag >= Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_VIDEO
|
return (callFlag and Participant.InCallFlags.WITH_VIDEO) > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun setUpAfterConversationIsKnown() {
|
private fun setUpAfterConversationIsKnown() {
|
||||||
|
Loading…
Reference in New Issue
Block a user