Commit d9d6334f authored by Romain Bignon's avatar Romain Bignon

when a new request is received during process of an other request, tell user

parent cd9135a4
......@@ -304,6 +304,12 @@ Request* Request::addRequest(Request* request)
requests.push_back(request);
if(requests.size() == 1)
request->display();
else {
irc::IRC* irc = Purple::getIM()->getIRC();
nick->privmsg(irc->getUser(),
"Hint: Received a new request (" + request->title + "). "
"There are " + t2s(requests.size() - 1) + " requests in stack");
}
return request;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment