-
Notifications
You must be signed in to change notification settings - Fork 232
Display poll notifications in the notification drawer #1467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Display notifications for polls as if they were message events.
c1b3cc2
to
a09e91d
Compare
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1467 +/- ##
===========================================
- Coverage 58.24% 58.21% -0.03%
===========================================
Files 1133 1133
Lines 30252 30266 +14
Branches 6192 6192
===========================================
Hits 17619 17619
- Misses 9994 10008 +14
Partials 2639 2639
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
timestamp = this.timestamp, | ||
senderName = senderDisplayName, | ||
body = stringProvider.getString(CommonStrings.common_poll_summary, content.question), | ||
imageUriString = this.contentUrl, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess in the case of a poll this.contentUrl
will always be null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You got me, I believe the same. Should I just hardcode a null
here?
Hardcoded a null |
Kudos, SonarCloud Quality Gate passed! |
Display notifications for polls as if they were message events but prepending the poll question with "Poll: " as we do in the room summary.