Skip to content
Snippets Groups Projects
Commit e2a76ce7 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

manager: cleanup, remove unused arguments

Change-Id: I13cb1b54e9ade0bc61e4ea3e58c6708154b9e6f0
parent 7a8aa3d3
No related branches found
No related tags found
No related merge requests found
...@@ -866,9 +866,9 @@ public: ...@@ -866,9 +866,9 @@ public:
* @param conversationId Related conversation * @param conversationId Related conversation
* @return std::optional<std::weak_ptr<ChannelSocket>> the related socket * @return std::optional<std::weak_ptr<ChannelSocket>> the related socket
*/ */
std::shared_ptr<dhtnet::ChannelSocket> gitSocket(const std::string_view accountId, std::shared_ptr<dhtnet::ChannelSocket> gitSocket(std::string_view accountId,
const std::string_view deviceId, std::string_view deviceId,
const std::string_view conversationId); std::string_view conversationId);
void setDefaultModerator(const std::string& accountID, const std::string& peerURI, bool state); void setDefaultModerator(const std::string& accountID, const std::string& peerURI, bool state);
std::vector<std::string> getDefaultModerators(const std::string& accountID); std::vector<std::string> getDefaultModerators(const std::string& accountID);
...@@ -906,13 +906,9 @@ private: ...@@ -906,13 +906,9 @@ private:
// Helper to install a callback to be called once by the main event loop // Helper to install a callback to be called once by the main event loop
template<typename Callback> template<typename Callback>
static void static void
runOnMainThread(Callback&& cb, runOnMainThread(Callback&& cb)
const char* filename = CURRENT_FILENAME(),
uint32_t linum = CURRENT_LINE())
{ {
Manager::instance().scheduler().run([cb = std::forward<Callback>(cb)]() mutable { cb(); }, Manager::instance().scheduler().run([cb = std::forward<Callback>(cb)]() mutable { cb(); });
filename,
linum);
} }
} // namespace jami } // namespace jami
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment