diff --git a/daemon_post_search.py b/daemon_post_search.py
index a359fbee0..e881c112f 100644
--- a/daemon_post_search.py
+++ b/daemon_post_search.py
@@ -436,7 +436,8 @@ def _receive_search_handle(self, search_str: str,
                            max_shares_on_profile: int,
                            no_of_books: int,
                            auto_cw_cache: {},
-                           actor_str: str) -> bool:
+                           actor_str: str,
+                           curr_session) -> bool:
     """Receive a search for a fediverse handle or url from the search screen
     """
     remote_only = False
@@ -978,7 +979,8 @@ def receive_search_query(self, calling_domain: str, cookie: str,
                                   buy_sites,
                                   max_shares_on_profile,
                                   no_of_books,
-                                  auto_cw_cache, actor_str):
+                                  auto_cw_cache, actor_str,
+                                  curr_session):
             return
     elif (search_str.startswith(':') or
           search_str.endswith(' emoji')):