mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +00:00
d7e4928f22
// FREEBIE
23 lines
526 B
Java
23 lines
526 B
Java
package org.thoughtcrime.securesms.sms;
|
|
|
|
import org.whispersystems.libsignal.util.guava.Optional;
|
|
import org.whispersystems.signalservice.api.messages.SignalServiceGroup;
|
|
|
|
public class IncomingJoinedMessage extends IncomingTextMessage {
|
|
|
|
public IncomingJoinedMessage(String sender) {
|
|
super(sender, 1, System.currentTimeMillis(), null, Optional.<SignalServiceGroup>absent(), 0);
|
|
}
|
|
|
|
@Override
|
|
public boolean isJoined() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean isSecureMessage() {
|
|
return true;
|
|
}
|
|
|
|
}
|