Updating string value for redacted event to be more consistent
This commit is contained in:
parent
4a5fe3c0f9
commit
9c619001a5
@ -202,7 +202,7 @@ data class Event(
|
|||||||
* It will return a decrypted text message or an empty string otherwise.
|
* It will return a decrypted text message or an empty string otherwise.
|
||||||
*/
|
*/
|
||||||
fun getDecryptedTextSummary(): String? {
|
fun getDecryptedTextSummary(): String? {
|
||||||
if (isRedacted()) return "Message Deleted"
|
if (isRedacted()) return "Message removed"
|
||||||
val text = getDecryptedValue() ?: run {
|
val text = getDecryptedValue() ?: run {
|
||||||
if (isPoll()) {
|
if (isPoll()) {
|
||||||
return getPollQuestion() ?: "created a poll."
|
return getPollQuestion() ?: "created a poll."
|
||||||
|
@ -1608,7 +1608,7 @@
|
|||||||
<string name="message_view_reaction">View Reactions</string>
|
<string name="message_view_reaction">View Reactions</string>
|
||||||
<string name="reactions">Reactions</string>
|
<string name="reactions">Reactions</string>
|
||||||
|
|
||||||
<string name="event_redacted">Message deleted</string>
|
<string name="event_redacted">Message removed</string>
|
||||||
<string name="settings_show_redacted">Show removed messages</string>
|
<string name="settings_show_redacted">Show removed messages</string>
|
||||||
<string name="settings_show_redacted_summary">Show a placeholder for removed messages</string>
|
<string name="settings_show_redacted_summary">Show a placeholder for removed messages</string>
|
||||||
<string name="event_redacted_by_user_reason">Event deleted by user</string>
|
<string name="event_redacted_by_user_reason">Event deleted by user</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user