mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 21:34:10 -05:00
moved tag initialisation to msgservice constructor to deal to situation where loadlist() is not call
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2ef645b6a5
commit
8385984d78
@ -58,6 +58,10 @@ p3MsgService::p3MsgService(p3ConnectMgr *cm)
|
|||||||
mConnMgr(cm), msgChanged(1), mMsgUniqueId(1)
|
mConnMgr(cm), msgChanged(1), mMsgUniqueId(1)
|
||||||
{
|
{
|
||||||
addSerialType(new RsMsgSerialiser());
|
addSerialType(new RsMsgSerialiser());
|
||||||
|
|
||||||
|
/* Initialize standard tag types */
|
||||||
|
if(cm)
|
||||||
|
initStandardTagTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t p3MsgService::getNewUniqueMsgId()
|
uint32_t p3MsgService::getNewUniqueMsgId()
|
||||||
@ -414,9 +418,6 @@ bool p3MsgService::loadList(std::list<RsItem*> load)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize standard tag types */
|
|
||||||
initStandardTagTypes();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user