diff --git a/clientgui/AsyncRPC.cpp b/clientgui/AsyncRPC.cpp index 4d365e24c1..1f8831638f 100644 --- a/clientgui/AsyncRPC.cpp +++ b/clientgui/AsyncRPC.cpp @@ -380,7 +380,8 @@ int RPCThread::ProcessRPCRequest() { retval = (m_pDoc->rpcClient).project_attach( (const char*)(current_request->arg1), (const char*)(current_request->arg2), - (const char*)(current_request->arg3) + (const char*)(current_request->arg3), + (const char*)(current_request->arg4) ); break; case RPC_PROJECT_ATTACH_FROM_FILE: diff --git a/clientgui/AsyncRPC.h b/clientgui/AsyncRPC.h index f441716d8e..16bf842d1d 100644 --- a/clientgui/AsyncRPC.h +++ b/clientgui/AsyncRPC.h @@ -304,8 +304,12 @@ public: int create_account_poll(ACCOUNT_OUT& arg1) { return RPC_Wait(RPC_CREATE_ACCOUNT_POLL, (void*)&arg1); } int project_attach( - const char* url, const char* auth, const char* project_name - ) { return RPC_Wait(RPC_PROJECT_ATTACH, (void*)url, (void*)auth, (void*)project_name); } + const char* url, const char* auth, const char* project_name, const char* email_addr + ) { + return RPC_Wait( + RPC_PROJECT_ATTACH, (void*)url, (void*)auth, (void*)project_name, (void*)email_addr + ); + } int project_attach_from_file() { return RPC_Wait(RPC_PROJECT_ATTACH_FROM_FILE); } int project_attach_poll(PROJECT_ATTACH_REPLY& arg1)