浏览代码

modules_k/presence fixed issue when sending resubscribes

Fixed an issue regarding sending resubscribes (within the same dialog) when in DB_ONLY mode.
Marius Bucur 14 年之前
父节点
当前提交
b41744eb10
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules_k/presence/subscribe.c

+ 1 - 1
modules_k/presence/subscribe.c

@@ -1211,7 +1211,7 @@ int get_stored_info(struct sip_msg* msg, subs_t* subs, int* reply_code,
 		lock_release(&subs_htable[i].lock);
 	}
 
-	if(dbmode == DB_FALLBACK)
+	if(dbmode != DB_MEMORY_ONLY)
 	{
 		return get_database_info(msg, subs, reply_code, reply_str);	
 	}