fixed dm notification not clickable #730

This commit is contained in:
Mariotaku Lee 2017-03-19 16:35:19 +08:00
parent 8a1897be62
commit f3ebbc3c9e
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,8 @@ class ContentNotificationManager(
messageSum)
builder.setTicker(notificationTitle)
builder.setContentTitle(notificationTitle)
builder.setContentIntent(getContentIntent(context, CustomTabType.DIRECT_MESSAGES,
NotificationType.DIRECT_MESSAGES, accountKey, 0))
val remaining = cur.forEachRow(5) { cur, pos ->
val conversation = indices.newObject(cur)
if (conversation.notificationDisabled) return@forEachRow false