Skip to content

Commit

Permalink
[PBE-4795] add CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
kanat authored and JcMinarro committed Jul 5, 2024
1 parent 82489b2 commit 418d012
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- Added `ChatClient.getThreads` to fetch threads for the current users. [#5264](https://github.com/GetStream/stream-chat-android/pull/5264)
- Added `ChatClient.sendPoll`, `ChatClient.castVotePoll`, `ChatClient.closePoll` and `ChatClient.removePollVote` methods to interact with Polls. [#5273](https://github.com/GetStream/stream-chat-android/pull/5273)
- Added new `ChatEvents` related with Polls. [#5273](https://github.com/GetStream/stream-chat-android/pull/5273)
- Added pinned messages parsing. [#5306](https://github.com/GetStream/stream-chat-android/pull/5306)

### ⚠️ Changed

Expand All @@ -44,8 +45,10 @@
### ⬆️ Improved

### ✅ Added
- Added `ChannelState.pinnedMessage` to obtain the pinned message in a channel. [#5306](https://github.com/GetStream/stream-chat-android/pull/5306)

### ⚠️ Changed
- Delete a pinned message from the pinned list if it was deleted. [#5315](https://github.com/GetStream/stream-chat-android/pull/5315)

### ❌ Removed

Expand All @@ -56,6 +59,7 @@
### ⬆️ Improved

### ✅ Added
- Added pinned messages support to `MessageListController`. [#5306](https://github.com/GetStream/stream-chat-android/pull/5306)

### ⚠️ Changed

Expand All @@ -80,6 +84,7 @@

## stream-chat-android-compose
### 🐞 Fixed
- Fixed deleted pinned messages being highlighted as pinned. [#5315](https://github.com/GetStream/stream-chat-android/pull/5315)

### ⬆️ Improved
- Enabled Strong Skipping Mode for Compose compiler and improved Compose performance. [#5303](https://github.com/GetStream/stream-chat-android/pull/5303)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2864,6 +2864,7 @@ public final class io/getstream/chat/android/client/utils/message/MessageUtils {
public static final fun isGiphy (Lio/getstream/chat/android/models/Message;)Z
public static final fun isGiphyEphemeral (Lio/getstream/chat/android/models/Message;)Z
public static final fun isModerationError (Lio/getstream/chat/android/models/Message;Ljava/lang/String;)Z
public static final fun isPinnedAndNotDeleted (Lio/getstream/chat/android/models/Message;)Z
public static final fun isRegular (Lio/getstream/chat/android/models/Message;)Z
public static final fun isReply (Lio/getstream/chat/android/models/Message;)Z
public static final fun isSystem (Lio/getstream/chat/android/models/Message;)Z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal class LoadNotificationDataWorker(

setForeground(createForegroundInfo())

logger.d { "[doWork] cid: $channelType:$channelId, messageId: $messageId"}
logger.d { "[doWork] cid: $channelType:$channelId, messageId: $messageId" }

return try {
val client: ChatClient = ChatClient.instance()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ import io.getstream.result.Result
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import java.util.Date
import kotlin.math.log

/**
* This class contains all the logic to manipulate and modify the state of the corresponding channel.
Expand Down

0 comments on commit 418d012

Please sign in to comment.