mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 21:45:20 +00:00
24 lines
586 B
Java
24 lines
586 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, false);
|
|
}
|
|
|
|
@Override
|
|
public boolean isJoined() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public boolean isSecureMessage() {
|
|
return true;
|
|
}
|
|
|
|
}
|