mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-02 06:33:38 +01:00
Enable sending of polls.
This commit is contained in:
@@ -1259,6 +1259,7 @@ public class SignalServiceMessageSender {
|
||||
.question(pollCreate.getQuestion())
|
||||
.allowMultiple(pollCreate.getAllowMultiple())
|
||||
.options(pollCreate.getOptions()).build());
|
||||
builder.requiredProtocolVersion(Math.max(DataMessage.ProtocolVersion.POLLS.getValue(), builder.requiredProtocolVersion));
|
||||
}
|
||||
|
||||
if (message.getPollVote().isPresent()) {
|
||||
|
||||
Reference in New Issue
Block a user