Merge branch 'fix/fix_crash_for_userid_missing_when_opening_a_message_from_notifications' into 'develop'
Make sure we always have a userId to pass to the intent. See merge request android/mail/proton-mail-android!1227
This commit is contained in:
commit
8741eac50a
|
@ -295,7 +295,7 @@ class NotificationServer @Inject constructor(
|
|||
) {
|
||||
// Create content Intent for open SwitchUserAndOpenMessageDetailsActivity
|
||||
val contentIntent = SwitchUserAndOpenMessageDetailsActivity.Input(
|
||||
userId = user.id,
|
||||
userId = userId,
|
||||
messageId = messageId,
|
||||
locationType = message?.location?.let(MessageLocationType::fromInt) ?: MessageLocationType.INVALID,
|
||||
messageSubject = notificationBody
|
||||
|
|
Loading…
Reference in New Issue