mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Apply reactions optimistically
This commit is contained in:
committed by
Scott Nonnenberg
parent
18abe93022
commit
03eaa9eb3e
Vendored
+12
-9
@@ -109,15 +109,6 @@ export type MessageAttributesType = {
|
||||
quote?: QuotedMessageType;
|
||||
reactions?: Array<{
|
||||
emoji: string;
|
||||
from: {
|
||||
id: string;
|
||||
color?: string;
|
||||
avatarPath?: string;
|
||||
name?: string;
|
||||
profileName?: string;
|
||||
isMe?: boolean;
|
||||
phoneNumber?: string;
|
||||
};
|
||||
fromId: string;
|
||||
targetAuthorUuid: string;
|
||||
targetTimestamp: number;
|
||||
@@ -348,3 +339,15 @@ export declare class ConversationModelCollectionType extends Backbone.Collection
|
||||
}
|
||||
|
||||
export declare class MessageModelCollectionType extends Backbone.Collection<MessageModel> {}
|
||||
|
||||
export type ReactionAttributesType = {
|
||||
emoji: string;
|
||||
remove?: boolean;
|
||||
targetAuthorUuid: string;
|
||||
targetTimestamp: number;
|
||||
fromId?: string;
|
||||
timestamp: number;
|
||||
fromSync?: boolean;
|
||||
};
|
||||
|
||||
export declare class ReactionModelType extends Backbone.Model<ReactionAttributesType> {}
|
||||
|
||||
Reference in New Issue
Block a user