summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-08-17 17:02:48 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-08-17 17:02:48 +0000
commit36e932b4d8590171d8fb3552db89c915684629c9 (patch)
tree524746d4bea01f5f00f24f1dd08ca3634104f381 /indra/newview/llnearbychathandler.cpp
parent1c7e298e21fbdfada72418a73841c7664cd8ee8b (diff)
merge https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1351 https://svn.aws.productengine.com/secondlife/pe/stable-1@1365 -> viewer-2.0.0-3
EXT 451 EXT-303 EXT-367 EXT-367 EXT-371 EXT-394 EXT-494 EXT-502 EXT-503 EXT-516 EXT-538 EXT-540
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r--indra/newview/llnearbychathandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index 837f924c44..a56688d862 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -52,7 +52,7 @@ LLNearbyChatHandler::LLNearbyChatHandler(e_notification_type type, const LLSD& i
LLNearbyChat* nearby_chat = LLFloaterReg::getTypedInstance<LLNearbyChat>("nearby_chat", LLSD());
/////////////////////////////////////////////////////
LLChannelManager::Params p; //TODO: check and correct
- p.id = LLUUID(NEARBY_CHAT_ID);
+ p.id = LLUUID(gSavedSettings.getString("NearByChatChannelUUID"));
p.channel_right_bound = nearby_chat->getRect().mRight;
p.channel_width = nearby_chat->getRect().mRight - 16; //HACK: 16 - ?
/////////////////////////////////////////////////////
@@ -62,7 +62,6 @@ LLNearbyChatHandler::LLNearbyChatHandler(e_notification_type type, const LLSD& i
mChannel = LLChannelManager::getInstance()->createChannel(p);
mChannel->setFollows(FOLLOWS_LEFT | FOLLOWS_BOTTOM | FOLLOWS_TOP);
mChannel->setOverflowFormatString("You have %d unread nearby chat messages");
- mChannel->setCanStoreToasts(false);
}
LLNearbyChatHandler::~LLNearbyChatHandler()
{