Skip to content

Commit

Permalink
fix: 修复[修改群信息后提示的用户错误]
Browse files Browse the repository at this point in the history
  • Loading branch information
boxshadow committed Apr 14, 2018
1 parent e0f5365 commit 2bc84d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/EaseMobIM/Controllers/GroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function update(UpdateGroup $request, UrlManager $urlManager)

// 发送消息至群组
if (isset($options['newowner'])) {
$newowner = User::where('id', $options['newowner'])->pluck('name');
$newowner = User::where('id', $options['newowner'])->value('name');
$cmd_content = $newowner.'已成为新群主!';
} else {
$cmd_content = $request->user()->name.'修改了群信息!';
Expand Down

0 comments on commit 2bc84d2

Please sign in to comment.