mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 22:34:15 +01:00
avoid error when clicking on federated user mention chip
without this, there would be the common error message shown because of a http 404 error. With this fix, nothing happens when clicking on a federated user mention chip, just like in web and iOS. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
7979af0d38
commit
69e8c91431
@ -271,7 +271,7 @@ object DisplayUtils {
|
|||||||
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
|
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if ("user" == type && conversationUser.userId != id) {
|
if ("user" == type && conversationUser.userId != id && !isFederated) {
|
||||||
spannableString.setSpan(clickableSpan, start, end, Spannable.SPAN_INCLUSIVE_EXCLUSIVE)
|
spannableString.setSpan(clickableSpan, start, end, Spannable.SPAN_INCLUSIVE_EXCLUSIVE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user