jr-common-micro 1.1.67 → 1.1.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,6 +60,7 @@ export interface ChatMessageDto {
60
60
  media: ChatMediaDto | undefined;
61
61
  link_preview: ChatLinkPreviewDto | undefined;
62
62
  forwarded_from: string;
63
+ forwarded_from_group: string;
63
64
  }
64
65
  export interface ChatLinkPreviewDto {
65
66
  url: string;
@@ -101,6 +101,7 @@ export declare class ChatMessageDto extends Message<ChatMessageDto> {
101
101
  media?: ChatMediaDto;
102
102
  linkPreview?: ChatLinkPreviewDto;
103
103
  forwardedFrom: string;
104
+ forwardedFromGroup: string;
104
105
  constructor(data?: PartialMessage<ChatMessageDto>);
105
106
  static readonly runtime: typeof proto3;
106
107
  static readonly typeName = "micro.v1.chat.ChatMessageDto";
@@ -197,6 +197,7 @@ class ChatMessageDto extends protobuf_1.Message {
197
197
  media;
198
198
  linkPreview;
199
199
  forwardedFrom = "";
200
+ forwardedFromGroup = "";
200
201
  constructor(data) {
201
202
  super();
202
203
  protobuf_1.proto3.util.initPartial(data, this);
@@ -224,6 +225,7 @@ class ChatMessageDto extends protobuf_1.Message {
224
225
  { no: 18, name: "media", kind: "message", T: ChatMediaDto },
225
226
  { no: 19, name: "link_preview", kind: "message", T: ChatLinkPreviewDto },
226
227
  { no: 20, name: "forwarded_from", kind: "scalar", T: 9 },
228
+ { no: 21, name: "forwarded_from_group", kind: "scalar", T: 9 },
227
229
  ]);
228
230
  static fromBinary(bytes, options) {
229
231
  return new ChatMessageDto().fromBinary(bytes, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.67",
3
+ "version": "1.1.68",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -89,6 +89,8 @@ message ChatMessageDto {
89
89
  // Original author when this message was forwarded. Label only: the client
90
90
  // must not turn it into a link to a group the viewer may not be in.
91
91
  string forwarded_from = 20;
92
+ // Name of the room it was forwarded from, shown beside the author.
93
+ string forwarded_from_group = 21;
92
94
  }
93
95
 
94
96
  message ChatLinkPreviewDto {