-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix sending Kudos from space Stream - MEED-3071 - Meeds-io/meeds…
…#1435 (#449) Prior to this change, when sending a kudos from space stream, the kudos wasn't sent. This change will allow to send kudos without attached entity type/id, which is the case in this specific usage. In fact, the error was mainly due to having used `spaceId` instead of `spacePrettyName` for space stream owner detection (replace `spacePrettyName: this.audience?.remoteId || this.spaceId` by `spacePrettyName: this.audience?.remoteId || this.spacePrettyName`).
- Loading branch information
Showing
6 changed files
with
104 additions
and
102 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
kudos-services/src/main/java/org/exoplatform/kudos/model/KudosEntityType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package org.exoplatform.kudos.model; | ||
|
||
public enum KudosEntityType { | ||
ACTIVITY, COMMENT, USER_PROFILE, USER_TIPTIP, SPACE_PROFILE, SPACE_TIPTIP | ||
ACTIVITY, COMMENT, USER_PROFILE, USER_TIPTIP, SPACE_PROFILE, SPACE_TIPTIP, NONE | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters