mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 08:28:57 +00:00
This was a holdover from Signal's origins as a pure SMS app. It causes problems, depends on undefined device specific behavior, and should no longer be necessary now that we have all the information we need to E164 all numbers. // FREEBIE
24 lines
579 B
Java
24 lines
579 B
Java
package org.thoughtcrime.securesms.sms;
|
|
|
|
import org.thoughtcrime.securesms.database.Address;
|
|
import org.whispersystems.libsignal.util.guava.Optional;
|
|
import org.whispersystems.signalservice.api.messages.SignalServiceGroup;
|
|
|
|
public class IncomingJoinedMessage extends IncomingTextMessage {
|
|
|
|
public IncomingJoinedMessage(Address sender) {
|
|
super(sender, 1, System.currentTimeMillis(), null, Optional.<SignalServiceGroup>absent(), 0);
|
|
}
|
|
|
|
@Override
|
|
public boolean isJoined() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean isSecureMessage() {
|
|
return true;
|
|
}
|
|
|
|
}
|