Skip to content

Commit

Permalink
fix: anonymous user send & admin send reply from oa.zalo.me
Browse files Browse the repository at this point in the history
- Add Anonymous user conversation from widget chat
- Fix: when an admin send reply from oa.zalo.me, the UI show wrong sender
  • Loading branch information
codihaus committed Jan 18, 2023
1 parent 9fa1099 commit a936487
Show file tree
Hide file tree
Showing 5 changed files with 592 additions and 574 deletions.
4 changes: 3 additions & 1 deletion packages/plugin-zalo-api/src/models/Customers.ts
Expand Up @@ -12,6 +12,7 @@ export interface ICustomer {
profilePic: string;
integrationId: string;
isFollower: boolean;
isAnonymous: boolean;
}

export interface ICustomerDocument extends ICustomer, Document {}
Expand All @@ -24,7 +25,8 @@ export const customerSchema = new Schema({
lastName: String,
profilePic: String,
integrationId: String,
isFollower: Boolean
isFollower: Boolean,
isAnonymous: Boolean,
});

export interface ICustomerModel extends Model<ICustomerDocument> {
Expand Down

0 comments on commit a936487

Please sign in to comment.