Skip to content

Commit

Permalink
daemon.protoo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Jun 28, 2022
1 parent d7e9c33 commit 6e6f0b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions daemon/rpc/daemon_rpc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,10 @@ Status DaemonRpc::GetOutgoingFriendRequests(
}
auto [friend_info, message] = conversion_result.value();
// add to response
getOutgoingFriendRequestsResponse->add_friend_infos()->CopyFrom(
friend_info);
asphrdaemon::FriendRequest friend_request;
friend_request->set_friend_info()->CopyFrom(friend_info);
friend_request->set_message(message);
getOutgoingFriendRequestsResponse->add_friend_requests(friend_request);
getOutgoingFriendRequestsResponse->add_messages(message);
}
} catch (const rust::Error& e) {
Expand Down

0 comments on commit 6e6f0b9

Please sign in to comment.