diff --git a/packages/status-communities/proto/communities/v2/chat_message.proto b/packages/status-communities/proto/communities/v1/chat_message.proto similarity index 97% rename from packages/status-communities/proto/communities/v2/chat_message.proto rename to packages/status-communities/proto/communities/v1/chat_message.proto index ef4ccb55..20d467cb 100644 --- a/packages/status-communities/proto/communities/v2/chat_message.proto +++ b/packages/status-communities/proto/communities/v1/chat_message.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package communities.v2; +package communities.v1; -import "communities/v2/enums.proto"; +import "communities/v1/enums.proto"; message StickerMessage { string hash = 1; diff --git a/packages/status-communities/proto/communities/v2/enums.proto b/packages/status-communities/proto/communities/v1/enums.proto similarity index 95% rename from packages/status-communities/proto/communities/v2/enums.proto rename to packages/status-communities/proto/communities/v1/enums.proto index 111fa9e7..b8af60b1 100644 --- a/packages/status-communities/proto/communities/v2/enums.proto +++ b/packages/status-communities/proto/communities/v1/enums.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package communities.v2; +package communities.v1; enum MessageType { MESSAGE_TYPE_UNKNOWN_UNSPECIFIED = 0; diff --git a/packages/status-communities/src/chat_message.ts b/packages/status-communities/src/chat_message.ts index 3e8a879c..31129b1d 100644 --- a/packages/status-communities/src/chat_message.ts +++ b/packages/status-communities/src/chat_message.ts @@ -1,8 +1,8 @@ import { Reader } from "protobufjs"; -import * as proto from "./proto/communities/v2/chat_message"; -import { ChatMessage_ContentType } from "./proto/communities/v2/chat_message"; -import { MessageType } from "./proto/communities/v2/enums"; +import * as proto from "./proto/communities/v1/chat_message"; +import { ChatMessage_ContentType } from "./proto/communities/v1/chat_message"; +import { MessageType } from "./proto/communities/v1/enums"; export class ChatMessage { private constructor(public proto: proto.ChatMessage) {} diff --git a/packages/status-communities/src/proto/communities/v2/chat_message.ts b/packages/status-communities/src/proto/communities/v1/chat_message.ts similarity index 99% rename from packages/status-communities/src/proto/communities/v2/chat_message.ts rename to packages/status-communities/src/proto/communities/v1/chat_message.ts index 7e4c2a8a..41adb57b 100644 --- a/packages/status-communities/src/proto/communities/v2/chat_message.ts +++ b/packages/status-communities/src/proto/communities/v1/chat_message.ts @@ -8,9 +8,9 @@ import { imageTypeToJSON, messageTypeFromJSON, messageTypeToJSON, -} from "../../communities/v2/enums"; +} from "../../communities/v1/enums"; -export const protobufPackage = "communities.v2"; +export const protobufPackage = "communities.v1"; export interface StickerMessage { hash: string; diff --git a/packages/status-communities/src/proto/communities/v2/enums.ts b/packages/status-communities/src/proto/communities/v1/enums.ts similarity index 98% rename from packages/status-communities/src/proto/communities/v2/enums.ts rename to packages/status-communities/src/proto/communities/v1/enums.ts index 899ba749..ee21d817 100644 --- a/packages/status-communities/src/proto/communities/v2/enums.ts +++ b/packages/status-communities/src/proto/communities/v1/enums.ts @@ -2,7 +2,7 @@ import Long from "long"; import _m0 from "protobufjs/minimal"; -export const protobufPackage = "communities.v2"; +export const protobufPackage = "communities.v1"; export enum MessageType { MESSAGE_TYPE_UNKNOWN_UNSPECIFIED = 0,