Resolve klint issues

Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
Tim Krüger 2021-12-02 12:54:26 +01:00
parent 7852fc9e30
commit 567326da5a
No known key found for this signature in database
GPG key ID: FECE3A7222C52A4E
2 changed files with 4 additions and 2 deletions

View file

@ -341,7 +341,8 @@ class MagicFirebaseMessagingService : FirebaseMessagingService() {
if (hasParticipantsInCall) { if (hasParticipantsInCall) {
for (participant in participantList) { for (participant in participantList) {
if (participant.actorId == signatureVerification.userEntity.userId && if (participant.actorId == signatureVerification.userEntity.userId &&
participant.actorType == Participant.ActorType.USERS) { participant.actorType == Participant.ActorType.USERS
) {
inCallOnDifferentDevice = true inCallOnDifferentDevice = true
break break
} }

View file

@ -323,7 +323,8 @@ class ChatController(args: Bundle) :
override fun onNext(roomOverall: RoomOverall) { override fun onNext(roomOverall: RoomOverall) {
currentConversation = roomOverall.ocs.data currentConversation = roomOverall.ocs.data
Log.d( Log.d(
TAG, "getRoomInfo. token: " + currentConversation?.getToken() + TAG,
"getRoomInfo. token: " + currentConversation?.getToken() +
" sessionId: " + currentConversation?.sessionId " sessionId: " + currentConversation?.sessionId
) )
loadAvatarForStatusBar() loadAvatarForStatusBar()