2015-10-27 19:18:02 +00:00
|
|
|
package org.thoughtcrime.securesms.sms;
|
|
|
|
|
2017-07-26 16:59:15 +00:00
|
|
|
import org.thoughtcrime.securesms.database.Address;
|
2016-03-23 17:34:41 +00:00
|
|
|
import org.whispersystems.libsignal.util.guava.Optional;
|
|
|
|
import org.whispersystems.signalservice.api.messages.SignalServiceGroup;
|
2015-10-27 19:18:02 +00:00
|
|
|
|
|
|
|
public class IncomingJoinedMessage extends IncomingTextMessage {
|
|
|
|
|
2017-07-26 16:59:15 +00:00
|
|
|
public IncomingJoinedMessage(Address sender) {
|
2018-05-22 09:13:10 +00:00
|
|
|
super(sender, 1, System.currentTimeMillis(), null, Optional.<SignalServiceGroup>absent(), 0, false);
|
2015-10-27 19:18:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isJoined() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isSecureMessage() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|