mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-20 23:54:21 +01:00
Refactor NoteToSelf to singleton class
This commit is contained in:
@@ -25,7 +25,7 @@ public class CommandUtil {
|
||||
) throws UserErrorException {
|
||||
final var recipientIdentifiers = new HashSet<RecipientIdentifier>();
|
||||
if (isNoteToSelf) {
|
||||
recipientIdentifiers.add(new RecipientIdentifier.NoteToSelf());
|
||||
recipientIdentifiers.add(RecipientIdentifier.NoteToSelf.INSTANCE);
|
||||
}
|
||||
if (recipientStrings != null) {
|
||||
final var localNumber = m.getUsername();
|
||||
|
||||
Reference in New Issue
Block a user