mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-19 16:46:55 +00:00
Other: Event Stream refactor.
Other: GRPCClient keeps track of the event stream status. [skip-ci] Other: renamed StartEventStream to RunEventStream for clarity. [skip-ci]
This commit is contained in:
@ -46,7 +46,7 @@ void EventStreamReader::run()
|
||||
{
|
||||
emit started();
|
||||
|
||||
grpc::Status const status = app().grpc().startEventStream();
|
||||
grpc::Status const status = app().grpc().runEventStreamReader();
|
||||
if (!status.ok())
|
||||
throw Exception(QString::fromStdString(status.error_message()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user