Skip to content

Commit

Permalink
variable update again
Browse files Browse the repository at this point in the history
  • Loading branch information
SebinSong committed Jan 15, 2025
1 parent 00b23fb commit df13872
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/views/components/ProfileCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ export default ({
async sendMessage () {
const chatRoomID = this.ourGroupDirectMessageFromUserIds(this.contractID)
if (!chatRoomID) {
const freshDMChatRoomID = await this.createDirectMessage(this.contractID)
if (freshDMChatRoomID) {
this.redirect(freshDMChatRoomID)
const freshChatRoomID = await this.createDirectMessage(this.contractID)
if (freshChatRoomID) {
this.redirect(freshChatRoomID)
}
} else {
if (!this.ourGroupDirectMessages[chatRoomID].visible) {
Expand Down

0 comments on commit df13872

Please sign in to comment.