mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-12 11:07:42 +00:00
open group invitation sending part
This commit is contained in:
@@ -70,9 +70,9 @@ class VisibleMessage : Message() {
|
||||
override fun isValid(): Boolean {
|
||||
if (!super.isValid()) return false
|
||||
if (attachmentIDs.isNotEmpty()) return true
|
||||
if (openGroupInvitation != null) return true
|
||||
val text = text?.trim() ?: return false
|
||||
if (text.isNotEmpty()) return true
|
||||
if (openGroupInvitation != null) return true
|
||||
return false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user