Skip to content

Commit

Permalink
added the isEmpty Check for assigneeID
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhijeetRanjan308 committed Mar 7, 2024
1 parent db22f76 commit 124c734
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ open class KMConversationViewController: ALKConversationViewController, KMUpdate
self.assigneeUserId = contact?.userId
self.hideInputBarIfAssignedToBot()
guard let contact = contact else {return}
guard let assigneeUserId = self.assigneeUserId, ( assigneeUserId == KMUpdateAssigneeStatus.shared.assigneeID || KMUpdateAssigneeStatus.shared.assigneeID == "") else {
guard let assigneeUserId = self.assigneeUserId,let changeStatusAssigneeID = KMUpdateAssigneeStatus.shared.assigneeID, ( assigneeUserId == changeStatusAssigneeID || changeStatusAssigneeID.isEmpty) else {
self.isAwayMessageViewHidden = !contact.isInAwayMode
return
}
Expand Down

0 comments on commit 124c734

Please sign in to comment.