mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 15:23:36 +01:00
Polls: Longer question length and 1:1 Receive Support
Co-authored-by: jimio <jimio@jimio-m3-max.local> Co-authored-by: Yash <yash@signal.org>
This commit is contained in:
@@ -15,7 +15,6 @@ import type { PollVoteAttributesType } from '../messageModifiers/Polls.preload.j
|
||||
import { getMessageSentTimestamp } from '../util/getMessageSentTimestamp.std.js';
|
||||
import { getSourceServiceId } from '../messages/sources.preload.js';
|
||||
import { isAciString } from '../util/isAciString.std.js';
|
||||
import { isGroup } from '../util/whatTypeOfConversation.dom.js';
|
||||
import { strictAssert } from '../util/assert.std.js';
|
||||
import { createLogger } from '../logging/log.std.js';
|
||||
|
||||
@@ -38,10 +37,6 @@ export async function enqueuePollVoteForSend({
|
||||
conversation,
|
||||
'enqueuePollVoteForSend: No conversation extracted from target message'
|
||||
);
|
||||
strictAssert(
|
||||
isGroup(conversation.attributes),
|
||||
'enqueuePollVoteForSend: conversation must be a group'
|
||||
);
|
||||
|
||||
const timestamp = Date.now();
|
||||
const targetAuthorAci = getSourceServiceId(message.attributes);
|
||||
|
||||
Reference in New Issue
Block a user