Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
Fix channel history output
Browse files Browse the repository at this point in the history
  • Loading branch information
DZunke committed Jan 16, 2017
1 parent c2484fd commit aac82a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ SlackBundle v2.2.0
==================
- Feature: Add Support to send Requests as POST instead of GET
- Patch: Fix UsersList-Action, users email could be empty (by @mediafigaro)
- Patch: Fix channel history (found in fork by @elmpp)

SlackBundle v2.1.0
==================
Expand Down
2 changes: 1 addition & 1 deletion Slack/Channels.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function history($channel, $from = null, $count = 10)
$objMsg->setType(isset($message['subtype']) ? $message['subtype'] : $message['type']);
$objMsg->setUserId(isset($message['user']) ? $message['user'] : null);
$objMsg->setUsername(isset($message['username']) ? $message['username'] : null);
$objMsg->setContent($message['test']);
$objMsg->setContent($message['text']);

$repository[] = $objMsg;
}
Expand Down

0 comments on commit aac82a6

Please sign in to comment.