Add ability to set group member label from conversation settings.

This commit is contained in:
jeffrey-signal
2026-02-25 09:59:10 -05:00
committed by Cody Henthorne
parent 415dbd1b61
commit 7d1897a9d2
7 changed files with 121 additions and 51 deletions
@@ -52,6 +52,12 @@ class MemberLabelRepository private constructor(
@WorkerThread
fun getLabelJava(groupId: GroupId.V2, recipient: Recipient): MemberLabel? = runBlocking { getLabel(groupId, recipient) }
/**
* Checks whether the [Recipient] has permission to set their member label in the given group (blocking version for Java compatibility).
*/
@WorkerThread
fun canSetLabelJava(groupId: GroupId.V2, recipient: Recipient): Boolean = runBlocking { canSetLabel(groupId, recipient) }
/**
* Gets the member label for a specific recipient in the group.
*/